import { http, httpMock } from "~/utils/http";
import type { ICategoryList } from "./types";

export const getCategoryListApi = () => {
  return http.get<ICategoryList>(`/product/getBaseCategoryList`);
};

export const getHomeBannerListApi = () => {
  return httpMock.get<any>(`/getHomeBannerList`);
};
